package cn.cs.mapper;

import cn.cs.pojo.AgentShop;
import cn.cs.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ProductMapper {


	public List<Product> getProductListPageByMap(Map<String, Object> param)throws Exception;

	public Integer getProductCountByMap(Map<String, Object> param)throws Exception;

	public List<String> getPlatFromProImages(String proId);

	public Product getProductById(String proId);

	public int getCellCount(String proId);

	public List<Map<String,Object>> getProImagesByProId(String id);

	public List<Map<String,Object>> getProEvaluatesByProId(String id);

	public AgentShop getShopById(String shopId);

	public List<Product> getProductListByMap(Map<String, Object> param);
}
